package com.rht.gulimallmember.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 会员收藏的商品
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-07 13:57:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("ums_member_collect_spu")
public class MemberCollectSpuEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
			@TableId
			private Long id;

	/**
	 * 会员id
	 */
			private Long memberId;

	/**
	 * spu_id
	 */
			private Long spuId;

	/**
	 * spu_name
	 */
			private String spuName;

	/**
	 * spu_img
	 */
			private String spuImg;

	/**
	 * create_time
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date createTime;


}
